<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="js/vue.min.js"></script>
    <title>v-model的基本使用</title>
</head>
<body>
    <!--输入框内容修改，message也修改，修改message,input内容也修改，双向绑定-->
    <div id="app">
        <input type="text" v-model="message">{{message}}
    </div>
</body>
<script>
    const app = new Vue({
        el:'#app',
        data:{
            message:'zzz'
        }
    })
</script>
</html>